package com.mxm.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.mxm.pojo.Bill;

public interface BillMapper {

	public List<Bill> getAllBill();// 和billMapper里面的id命一样

	public Bill getByidBill(Integer id);//

	// public List<Bill> getByBill(@Param("productUnit") String productUnit,
	// @Param("productCount") Integer productCount);

	// public List<Bill> getByBill(Map<String, Object> map);

	public List<Bill> getByBill(Bill bill);

	public Integer addBill(Bill bill);

	public Integer updateBill(Bill bill);

	public Integer deleteBill(Integer id);
}
